<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags"%>


<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="robots" content="follow, index" />
<meta name="author" content="iune co." />
<meta name="description"
	content="IUNE有最好的库存管理SaaS软件。以更快更高的准确度，跟进实时数据的访问和库存移动。" />
<meta name="keywords"
	content="库存, 存货管理, 库存管理, 仓库管理, 云ERP, 云逸ERP, 中小型企业云ERP, SaaS ERP软件/系统" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title></title>

<style type="text/css">
td {
	padding: 0px;
	width: 100px;
}
</style>

</head>
<body>



	<div class="container-fluid"
		data-ng-controller="payFKHXListCtrl as Model">

		<div class="row">
			<div class="col-sm-12">
				<nav class="nav">

					<query-like data="Model.dataMaster" place-holder="模糊查询..."></query-like>
				
					<form class="navbar-form navbar-left buttonBar" style="padding-left:0px;padding-right:0px;">
				         <div class="form-group">
				 			<label class="control-label">核销单号:</label>
				          	<grid-filter  placeholder="请输入单号" filter-data="Model.dataMaster" filter-relation="writeOffNo" xid="gridFilter1" auto-refresh="false"></grid-filter>
				         </div>
				         <div class="form-group" ng-hide="true">
				 			<label class="control-label">单据日期:</label>
				          	<grid-filter  placeholder="请输入单据日期" filter-data="Model.dataMaster" filter-relation="confirmDate" xid="gridFilter4" auto-refresh="false"></grid-filter>
				        </div>
				         <div class="form-group">
				 			<label class="control-label">核销日期:</label>
				          	<range-filter  placeholder="请输入日期" filter-data="Model.dataMaster" filter-relation="confirmDate" xid="rangeilter1" auto-refresh="false"></range-filter>
				         </div>
						<!-- Split button -->
						<div class="btn-group">
							<button type="button" class="btn btn-default" data-ng-click="Model.refresh()">
								<span class="glyphicon glyphicon-refresh"></span> 刷新
							</button>
						  <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
						    <span class="caret"></span>
						    <span class="sr-only">Toggle Dropdown</span>
						  </button>
						  <ul class="dropdown-menu" role="menu">
						    <li><a data-toggle="collapse" href="#_invoice_payFKHXList_list"> 更多过滤条件</a></li>
						  </ul>
						</div>
				    </form>		
					<ul class="pagination navbar-left buttonBar">
						<li>
							<div class="btn-group" role="toolbar">
								<button class="btn btn-warning" ng-show="Model.dataMaster.rows[Model.dataMaster.getCurrentIndex()].cashSettle.value==9" ng-click="Model.fhxClick($event)"><span class="glyphicon glyphicon-remove"></span> 删除</button>
							</div>
						</li>
					</ul>

				</nav>
				
				<div class="collapse" id="_invoice_payFKHXList_list">
				  <div class="well" style="padding-left:0px;padding-right:0px;">
					<nav class="nav">
						<form class="navbar-form navbar-left buttonBar" style="padding-left:0px;padding-right:0px;">
				         <div class="form-group">
				 			<label class="control-label">交易对象:</label>
				          	<grid-filter  placeholder="请输入对象编码" filter-data="Model.dataMaster" filter-relation="customerNo" xid="gridFilter4" auto-refresh="false"></grid-filter>
				         </div>
				         <div class="form-group">
				 			<label class="control-label">对象名称:</label>
				          	<grid-filter  placeholder="请输入对象名称" filter-data="Model.dataMaster" filter-relation="customerName" xid="gridFilter5" auto-refresh="false"></grid-filter>
				         </div>
						<button type="button" class="btn btn-default" data-ng-click="Model.refresh()" data-toggle="collapse" data-target="#_invoice_payFKHXList_list">
							<span class="glyphicon glyphicon-refresh"></span> 刷新
						</button>
						</form>
					</nav>
				  </div>
				</div>				

			</div>
		</div>

		<div class="row">
			<div class="col-sm-12">

			<div class="table-responsive">
				<table class="table table-hover table-condensed" style="margin:0px;">
					<thead>
						<tr>
							<th colspan="99"  style="padding:0px;">
							</th>
						</tr>

						<tr>
							<th></th>
							<th>#</th>
							<th hidden="true">状态</th>
							<th hidden="true">fID</th>

							<th hidden="true">子系统</th>
							<th>核销批号</th>
							<th>核销日期</th>
							<th hidden="true">交易对象</th>
							<th>对象编码</th>
							<th>对象简称</th>
							<th>交易单号</th>
							<th>单据日期</th>
							<th>单据类型</th>
							<th>票据金额</th>
							<th>票据余额</th>
							<th>核销金额</th>
							<th>折扣金额</th>
						</tr>
					</thead>
					<tbody>
						<tr data-ng-show="row.userdata.recordState!='delete'"
							data-ng-class="{true:'active'}[Model.dataMaster.currentIndex==Model.dataMaster.rows.indexOf(row)]"
							data-ng-click="Model.dataMaster.onRowClick(row,$event)"
							data-ng-repeat="row in Model.dataMaster.rows">
							<td style="width: 10px;"><span
								data-ng-show="Model.dataMaster.currentIndex==Model.dataMaster.rows.indexOf(row)"
								class="glyphicon glyphicon-hand-right" aria-hidden="true"></span></td>

							<td style="width: 10px;">{{Model.dataMaster.rows.indexOf(row)+1}}<span></span></td>
							<td style="width: 50px;" hidden="hidden"
								data-ng-bind="row.userdata.recordState"></td>
							<td style="width: 200px;" hidden="hidden"><span
								data-ng-bind="row.fID.value"></span></td>

							<td style="width: 100px;" hidden="hidden"><span
								data-ng-bind="row.systemCode.value"></span></td>
							<td style="width: 130px;"><span
								data-ng-bind="row.accountPaymentNo.value"></span></td>
							<td style="width: 100px;"><span
								data-ng-bind="row.confirmDate.value"></span></td>
							<td style="width: 100px;" hidden="true"><span
								data-ng-bind="row.dealObjectLabel.value"></span></td>
							<td style="width: 100px;"><span
								data-ng-bind="row.customerNo.value"></span></td>
							<td style="width: 100px;"><span
								data-ng-bind="row.shortName.value"></span></td>
							<td style="width: 100px;"><span
								data-ng-bind="row.originNo.value"></span></td>
							<td style="width: 100px;"><span
								data-ng-bind="row.orderDate.value"></span></td>
							<td style="width: 100px;"><span
								data-ng-bind="row.originName.value"></span></td>
							<td style="width: 100px;"><span
								data-ng-bind="row.orderAmount.value"></span></td>
							<td style="width: 100px;"><span
								data-ng-bind="row.pendingAmount.value"></span></td>
							<td style="width: 100px;"><span
								data-ng-bind="row.orderAmountCleared.value"></span></td>
							<td style="width: 100px;"><span
								data-ng-bind="row.discountCash.value"></span></td>

						</tr>

					</tbody>

					<tfoot>
						<tr>
							<th colspan="99"  style="padding:0px;">
							</th>
						</tr>
					</tfoot>

				</table>
			</div>

			</div>

		</div>

		<!-- 分页组件 -->
		<div class="row">
			<div class="col-sm-12">

				<pag-ination data="Model.dataMaster" first-text="首页"
					previous-text="上一页" next-text="下一页" last-text="末页"></pag-ination>

			</div>
		</div>


	</div>





</body>

</html>

